home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11919 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: gidora.kralizec.net.au!root
  2. From: rosko@zeta.org.au (Ross McKay)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Coding Standards
  5. Date: Sun, 17 Mar 1996 02:42:11 GMT
  6. Organization: Soft Technologies
  7. Message-ID: <4ifquo$srs@gidora.kralizec.net.au>
  8. References: <4hj8ek$elu@sam.inforamp.net> <4hktar$5o2@galaxy.ucr.edu> <4hsfrc$pmm@sam.inforamp.net> <4i26e8$h9e@B1FF.mindspring.com>
  9. Reply-To: rosko@zeta.org.au
  10. NNTP-Posting-Host: dialup7c.syd1.zeta.org.au
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. rudd@mindspring.com (Justin Rudd) wrote:
  14. >I agree with the standards you have set out in your post...well...all
  15. >except this one.
  16. >>Coding Standards
  17. >> 3 Naming Conventions
  18. >>1.    All class names should begin with the prefix BELL.  Example: 
  19. >>BELLSuperClass.
  20. >I've worked many jobs where the class names started with TO, B, and a
  21. >few others.  What the letters mean is very simple.  They are the
  22. >abbreviation of the Companies title. 
  23.  
  24. This is how *your* classes can have some guarantee of not being named
  25. the same as some library's classes, when the compiler does not support
  26. namespaces. One day, this requirement will disappear, but for now it
  27. must remain as very few compilers actually have namespaces yet.
  28.  
  29. >I asked one of the head developers once and he said that it is done
  30. >because UPPER MANAGEMENT thinks it promotes team unity.  *shrug*
  31. >Don't know about that...but....
  32.  
  33. ... which demonstrates how the people at the top can be out of touch
  34. with technical details. A coding standard which supplies this rule
  35. should also supply a reason for its existence. See the Ellemtel coding
  36. standard, good explanations for the rules so that the developers
  37. following it can *learn* as well as write good code.
  38.  
  39. Cheers,
  40. ------------------------------------------------------------------
  41. Ross McKay        | snail: GPO Box 562, Sydney NSW 2001 Australia
  42. Soft Technologies | email: mailto:rosko@zeta.org.au
  43. Sydney, Australia |   URL: http://www.zeta.org.au/~rosko
  44. ------------------------------------------------------------------
  45. The opinions expressed are my own, not those of Soft Technologies.
  46.     "The beatings will continue, until staff morale improves."
  47.  
  48.